@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./global-init.scss";
@import "./bus-table.scss";
@import "@/components/CommonForm/style/index.scss";
* {
  padding: 0;
  margin: 0;
}

body {
  // height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.svg-icon {
  width: $zhenjiang_iconSiderWidth;
  height: $zhenjiang_iconSiderWidth;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
  font-size: 1.2rem;
}
.app-breadcrumb.el-breadcrumb {
  display: inline-block;
  font-size: $baseFontSize !important;
  line-height: 35px;
  margin-left: 8px;
  .no-redirect {
    color: #97a8be;
    cursor: text;
  }
}
.el-submenu__title {
  display: flex;
  align-items: center;
  height:$zhejiang_siderItem !important;
}
.el-submenu__title span {
  white-space: normal;
  word-break: break-all;
  line-height: 20px;
  flex: 1;
  // padding-right: 20px;
  font-size: $zhejiang_importantSize !important;
}

.el-menu-item {
  display: flex;
  align-items: center;
  // padding-right: 20px !important;
  height:$zhejiang_siderItem !important;
  line-height:$zhejiang_siderItem !important ;
}
.el-menu-item span {
  // white-space: normal;
  // word-break: break-all;
  line-height: 20px;
  flex: 1;
}
.el-menu-item.is-active {
  color:$zhejiang_B4 !important;
  background-color:$zhejiang_defaultColor_b2 !important;
  font-weight: $zhejiang_activeWeight !important;
}


.vxe-table .vxe-body--column:not(.col--ellipsis),
.vxe-table .vxe-footer--column:not(.col--ellipsis),
.vxe-table .vxe-header--column:not(.col--ellipsis) {
  padding: 3px 0 !important;
}


.el-tree-node__content:hover {
  cursor: pointer;
  background-color: #68c0ee !important;
  color: #fff !important;
}
.el-tree-node.is-current > .el-tree-node__content {
  background-color: #68c0ee !important;
  color: #fff !important;
}
.iconfont {
  position: relative;
  top: -3px;
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  font-size: 17px !important;
  color: black !important;
  -moz-osx-font-smoothing: grayscale;
}
.el-form-item__content {
  line-height: 40px;
  position: relative;
  font-size: 14px;
  margin-left: 0px;
}
.keyword-lighten {
  color: #000;
  background-color: #91d5ff;
 }
 .footer-col-right{
  text-align: right !important
}

//  .el-date-picker__header--bordered {
//     margin-bottom: 0;
//     padding-bottom: 12px;
//     border-bottom: solid 1px #e6ebf5;
//     display: none !important;
//  }

#tree-container {
  .el-tree-node {
    position: relative;
    padding-left: 5px;
  }
  .el-tree-node__children {
    padding-left: 16px;
  }
  .el-tree-node :last-child:before {
    height: 38px;
  }
  .el-tree > .el-tree-node:before {
    border-left: none;
  }
  .el-tree > .el-tree-node:after {
    border-top: none;
  }
  .el-tree-node:before,
  .el-tree-node:after {
    content: "";
    left: -4px;
    position: absolute;
    right: auto;
    border-width: 1px;
  }
  .tree :first-child .el-tree-node:before {
    border-left: none;
  }
  .el-tree-node:before {
    border-left: 1px dashed gray;
    bottom: 0px;
    height: 100%;
    top: -20px;
    width: 1px;
  }
  .el-tree-node:after {
    border-top: 1px dashed gray;
    height: 20px;
    top: 17px;
    width: 24px;
  }
  .el-tree-node__content > .el-tree-node__expand-icon {
    padding: 0px;
    font-size: 15px;
  }
  .el-tree-node__content{
    height:35px;
    padding-left: 13px !important;
  }

}
.el-input__inner {
  -webkit-appearance: none;
  background-color: #fff;
  background-image: none;
  border-radius: 4px;
  border: 1px solid #DCDFE6;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #606266;
  display: inline-block;
  font-size: inherit;
  //会影响下拉框多选2行不能自动撑开
  // height: 35px !important;
  // line-height: 35px !important;
  outline: none;
  padding: 0 15px;
  -webkit-transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
  width: 100%;
}
.row-item:hover{
  cursor: pointer;
  text-decoration: underline;
}




.amap-icon img {
  position: absolute;
  z-index: -1;
  width: 40px !important;
}
.dv-scroll-board .header .header-item {

  font-weight: bolder !important;
}

body .el-table th.gutter {
  display: table-cell !important;
}

body .el-table colgroup.gutter {
  display: table-cell !important;
}

.el-table .warning-row {
  background: oldlace;
}

.el-table .success-row {
  background: #f0f9eb;
}
.el-table td,
.el-table th {
  padding: 2px 0;
  min-width: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-overflow: ellipsis;
  vertical-align: middle;
  position: relative;
  text-align: left;
}

.el-dialog__body {
  padding: 15px 20px;
  color: #606266;
  font-size: 15px;
}
.el-dialog__title {
  line-height: 24px;
  font-size: 18px;
  color: #303133;
}

.el-table__footer-wrapper tbody td,
.el-table__header-wrapper tbody td {
  background-color: rgb(242, 242, 242);
  color: #4ea9ff;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
}

.el-table__fixed-footer-wrapper tbody td {
  background-color: rgb(242, 242, 242);
  color: #4ea9ff;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
}

.el-form-item__error {
  color: #f56c6c;
  font-size: 12px;
  line-height: 1;
  padding-top: 4px;
  position: absolute;
  left: 28px !important;
  top: 45px;
}


.el-button--medium.is-round {
  padding: 10px 25px;
}

.button_wrap {
  display: inline-block;
  padding-right: 30px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 14px;
  border-radius: 5px;
  /* background:rgba(144,147,153,0.5);  */
}

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: rgba(8, 101, 140, 0.9);
  // background: red;
}

::-webkit-scrollbar-track {
  border-radius: 5px;
  /* background:rgba(144,147,153,0.5);  */
}

.el-table--border td,
.el-table--border th,
.el-table__body-wrapper .el-table--border.is-scrolling-left ~ .el-table__fixed {
  border-right: 1px solid #a2a4a9;
}

.el-table td,
.el-table th.is-leaf {
  border-bottom: 1px solid #a2a4a9;
}

.el-avatar,
.el-drawer {
  -webkit-box-sizing: border-box;
  overflow: auto;
}

.el-tree-node__label {
  font-size: 14px;
  overflow-y: auto;
  // overflow-x: scroll;
  height: 95%;
  width: 300px;
  overflow: hidden;
  // border: 1px solid #e8e8e8;
  text-overflow: ellipsis;
}

.el-switch__label--left {
  position: relative;
  left: 60px;
  color: #fff;
  z-index: -1111;
}

.el-switch__label--right {
  position: relative;
  right: 60px;
  color: #fff;
  z-index: -1111;
}

.el-switch__label--right.is-active {
  z-index: 1111;
  color: #fff !important;
}

.el-switch__label--left.is-active {
  z-index: 1111;
  color: #fff !important;
}

.el-menu.el-menu--horizontal {
  border-bottom: none
}



.el-table__row {
  cursor: pointer;
}

.el-tree-node__label {
  font-size: 14px;
  overflow-y: auto;
  height: 95%;
  width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 24px;
}



.el-table__body tr.current-row > td {
  background-color: yellow !important;
}

.el-breadcrumb__inner a:hover,
.el-breadcrumb__inner.is-link:hover {
  color: black;
  cursor: text;
}

.tox-silver-sink {
  z-index: 3000 !important;
}

.el-table--striped .el-table__body tr.el-table__row--striped td {
  background: #e2e2e2 !important;
}

.el-table__footer-wrapper tbody td,
.el-table__header-wrapper tbody td {
  background-color: #f2f2f2;
  color: #4ea9ff;
  text-align: right !important;
  font-weight: 500;
  font-size: 1rem;
}

 .vxe-table .vxe-body--column.col--ellipsis, .vxe-table.vxe-editable .vxe-body--column, .vxe-table .vxe-footer--column.col--ellipsis, .vxe-table .vxe-header--column.col--ellipsis {
  height: 30px !important;
}
// 测试的时候使用
// .vxe-table.border--full .vxe-body--column, .vxe-table.border--full .vxe-footer--column, .vxe-table.border--full .vxe-header--column {
//   color: black !important;
// }

.el-dialog__footer{
  border-top: 1px solid #cec9c9;
  padding: 10px !important;
}
.el-dialog__header{
  border-bottom: 1px solid #cec9c9;
  padding: 10px;
}
.el-dialog__headerbtn .el-dialog__close {
  color: #909399;
  position: relative;
  top: -10px !important;
}

.el-breadcrumb__separator[class*=icon] {
  margin: 0 6px;
  font-weight: normal;
  font-weight: bolder !important;
}

.el-submenu__title i {
  color: black !important;
  font-weight: bolder !important;
}

